added release implementation and further integration tests