[PATCH v3.1] selftests: Clean up module testing shell script