Triggering rollback when entitystate is changed from modified to unchanged.
Added functional test and increasing the number of threads that are used when running functional tests