moved tests to spec folder