Fix haproxy cfg unit test

Check if an option was already registered by one of the previous tests

Fixes bug 1157094

Change-Id: Ieaa6e4b3647fb64ce1928b8564e4a41e68c97e74