The dos and don'ts when testing