- asserting that getDirItems gets a callback as an argument
- adding tests to make sure that getDirItems handles when a callback is undefined or not a function type