Refactored Extension functionality test
Dao: fixed persisting of NEW entities