Added test coverage for callback in knox.list via a mocked knox
change some error capturing process