Test serialize method for models
Run tests by pattern matching