Initial junit tests for dependency injection classes