Added unit tests for Mixin API handlers.