add specs2 and offsetmanager test