prepare for tests