add test helper for test controllers