resolves #15: fix access to static class and added test