* Made sure NoSuchElementException is thrown when the pipeline is empty * Made sure NullPointerException is not thrown when the pipeline contains only one handler