Add resultcode expected result in test