Added test and automated them with Guard and Spork