iqunit unit test

all happy day scenarios now covered