Add chain maker test
add test for ReturnCodes