Update tester.php

Improved tester