added locality tests for issue #9