Added user visibility tests
Added general functions which are used inside the tests.
Added generalFunctions.js to test-harness.js file