Add a test for model with default_scope problem