Add some tests to seltests.py and dependence to requirements.txt.

Execute tests: python seltests.py