Moved unit test to spec dir