added unit tests for Defaults