Updated tests to run only in Mac OS for safari browser
Updated readability of test_page.html by proper indentations,
grouping of JavaScript code and consistent <br> and <fieldset>
elements