testability: static methods / singletons example