Operations for tests