Add shouldThrownNoSuchElementException test