Add tests for MultiplexingDocumentBuilder

Change-Id: Ie5ff638757bcddd43e78a0c9e3840d1723056771
Signed-off-by: Benjamin Muskalla <benjamin.muskalla@tasktop.com>