fixed the NIO test and the vat tests