Added tests/MainTest.php for example