test tidy up - put expected & actual in correct order