JUnit on Selection

Added a test in Selection (Still not complete i think) added a JUnit
test on Selection (May also not be complete yet)