fixed bugs in moveEntityControllerTest;
Added many test cases to increase coverage to 78.6%