Added memoty test
Added exit to test.php