move test file to another place; add entity and entity manager
move test files to {root}/test