added a mixed mode test