Updated test net with a new case, fixed bugs