added nil tests