Add test case for invalid job form without template and base_template