Moved selections.py to tests directory

No non-test code uses it now.
Removed unused code