PHPCS fixes.
New check to be sure that a request is not null before trying to save a form.
CrudManagerTest refactored.