adds a test for handling single table inheritance with proxies