These changes adjust the unit tests to compare known values rather than calculating them on the fly. The unit test against a 'bad' source has been modified to simply check for the relevant exception as PHP prevents any output on exceptions anyway.