Test case for PR #327

Tests that `belongs_to` assigns the `parent_class` properly for a namespaced controller and a non-namespaced model.