add prepare_tests