Lots of additions to Entity and physics testing. Most notably, states (need refinement).