[tests] fixed locking integration tests