Improve error message for length and size matching, all tests that uses "x did not have length/size x" has been updated to use FailureMessages.