Added test for newly introduced SizeOf.newInstance() method