update checks in test.sh