added test code for norbsmall and foveated norb.