bugfix in def
object creation added; time measurement for tests added