Fixed spec bugs after adding ActiveModel support