added shell return code to test