add unit test for net base