Unit tests for default method