Changed default boundary handling to periodic.
Add script tests to make test.