Fixed one bug in the integration tests for like.
Implemented synch persist to increase performance where possible.