Remove use of spec helper in unit test