Using inner static class in test