Added test to self publishing models to test with abstract classes