add basic tests; use selection-position module
Merge pull request #9 from bmcmahen/master

add basic tests; use selection-position module