Fix 1.8 syntax on test

review @fxn @carlosantoniodasilva