wrote test spec