adjust tests for new shell return value