Adds integration tests #27