Testing for wrong behaviour is very important!!! You need to split this test up. It was specifically written to test the w=%s errors.