Fix tests good practice