test app for single table inheritance