test for value sorting, renamed selenium dir

Wrote a test for contract sorting by value. Also moved the selenium dir to selenium_tests to prevent import conflicts with the python package of the same name.