testing default case with no param or empty string param