Fixed mixins skipping the next declaration
Added tests
Merge pull request #105 from rschmukler/mixins_fix

Fixed mixins skipping the next declaration