misusing tests for setting defaults