Change Junit to check for error code 406