updating spec tests for models