add test and default to retrieve task so that Mockito loads in IntelliJ compiles.