Fix crash when registering tests in not last suite
Fix crash when registering tests in not last suite

Registering a test in a suite that was not the last one added may have
caused a crash.

lubomir/libutest,lubomir/libutest,lubomir/libutest