Test releases

Add test to cover releases functionality according to casperjs tests