added test of 1-d calculations