Adds test for include_claimed flag

This patch set adds test to verify that claimed messages are returned
or not, depending on the include_claimed flag.

Change-Id: I06f85b7bf78db241cbf0a2d85beac3972f64c9d0
Tests: bug #1202430
Merge "Adds test for include_claimed flag"