test production main handler