Added some asserts to Integration Test.