Fixed bug in delta time getter and associated tests.