Added unit tests for Select module