added support for mocking concrete classes
sort results before comparing; test was passing locally but failing on jenkins due to the order of comparison