add tests for getFromLast() #458