MAINT: Changes unittest use of ndict to use specific objects.

Instead of using ndict, changing over to using the objects that
are created used when an algorithm is run.