chapter2 testing