Fixed bug in php < 5.4 computing hash with tiger. Adapted tests

Signed-off-by: RedChrome <redchrome@gmx.de>