fixed consumer unit tests