badly written tests