Adds some tests to check Exec and Select behaviour.