added tests to spec/