Add tests for Phant.