return code in tests