Fix configuration for nose tests
Fix abstract models in base