added unit tests for ->default