add test code for spynner