Simplify test case for net.
Add test case for fully connected layer.