Add test for function findLatestPhpVersion and fix bug of that function ;)