fix(test): Fixed exit code in test script