Some sanity tests to make sure something like #132 doesn't happen anymore. Signed-off-by: Ruslan Kuprieiev <[email protected]>