pymain testing