add tests for defaults