Expected and actual values where in wrong order