removed unreachable code as detected by go vet
started added tests for network transformation
predicate no longer included when empty