you probably want to start your bash script with
#!/bin/env bash
a switch statement
case $1 in test) echo "single test" ;; test2) echo "second test" ;; test*) echo "bigger test" ;; *) echo "anything" ;; esac