Improved mock generator.
Sort generated methods, added more 5.3 tests.