Add tests for defaults