sanity: add queries for #3, #4 and #12

This closes #6.

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>