fix #include and typo in entity test

See #9.
add entity test to test main

See #9.