run_test_harness test for case when input is an empty string swicthes

also fixed incorrect assertions - switches are declared "local" in run_test_harness
so should be checked inside runtests()