add state tests
add state tests
add and clean up tests
0.5.3