add helper for tests