test should run on php 5.3, so no $this in closures