add some unit tests for mixins