Tweaked release method a bit.
Added test project.