Wrote simple Spec suite for this problem

Use spec2 when writing tests.