Removed debugging output
Fixed compilation errors with models and object to string conversion
Added test for models