BACKLOG-1048 Added End condition to test
BACKLOG-1048 Added End condition to test

rjkip/OpenConext-engineblock,thijskh/OpenConext-engineblock,rjkip/OpenConext-engineblock,Martin1982/OpenConext-engineblock,rjkip/OpenConext-engineblock,rjkip/OpenConext-engineblock,Martin1982/OpenConext-engineblock,Martin1982/OpenConext-engineblock,thijskh/OpenConext-engineblock,remold/OpenConext-engineblock,thijskh/OpenConext-engineblock,remold/OpenConext-engineblock,Martin1982/OpenConext-engineblock,thijskh/OpenConext-engineblock,remold/OpenConext-engineblock,remold/OpenConext-engineblock