improved coverage of complicated.h