Design of test