Backend must be first argument to test, fixes #306