Slightly increased unit test coverage via Mocking.
Removed some redundancy in integration_test.py:
- Tests no longer use their own project if possible
- Some tests were combined
- Duplicated tests or tests which were subsets of other tests were removed.

TODO: Update other tests sets similarly.
Since the deprecated methods are now just references to the new methods, many tests from the Entity tests overlap with the tests for deprecated functions.

Tests were cleaned up where possible.
Finished one pass through cleaning up the integration tests.