add tests to spec