main test passes!