fixes for testing search