Moved assertions to different module as mixins.