test(API): Actually check for error nilness