Created test for :dimension method