refactor mixer, add checkbox mixer test