Working code after first rspec test
define release method and associated test