add missing ntheory tests