testing guice. functional but more refractoring needed for unit tests