adding spec tests to gem