Enforcing required params, adding tests around that