Refactored tests into integration test suite.
Refactored tests into integration test suite.