JSTests for 2dsphere index

code review LGTM'd