Adding tests for Entity -- Valid behavior and one example of exception.

perform tests

exit

perform tests

exit

perform tests

exit