Changing test database type to local and changing timeouts accordingly.
'memory' storage type reuses RIDs breaking the semantic:update() test (https://groups.google.com/forum/#!topic/orient-database/fdBAIGeRCN4)