Added test to check whether old saved objects update the database