moved dimension properties loading to method and added tests