Tests added for check_networks "result"

Tests added to check the format of "result" field of check_networks message.
"result" field is used in UI to highlight networks parameters which have wrong values.
Some tests refactoring is made.

Change-Id: I833fa5add56b5894668edac7ea61231faae7b1fc