More mocking fixes

This pull request contains more fixes: fixes in errors passing (in ActiveRecord 3.2), tests enhancements and fixes