simplify the spy test
simplify the spy test