Refactor tests, mixin and core
Bump version to 0.1.3