fix spec set up and add tests to verify