provided integration tests
improved test