Test Mongrel handler in Python