Added some spec tests for models