fix bug in spotlight plugin tests
fix bug in spotlight plugin tests