moved tests to specs (in progress)