added history integration test