small syntax changes to the unit test to make php5.3 happy