Refactored test after selection parsing code moved to the *Items class.