fixed spec tests created unit tests