Fixed isset() in PHP 5.2 and 5.1
Removed output from regular PHP functions (since we aren't testing them)
Increase tolerance of error in image test cases