blockcommit: Add commit base as middle snap cases

Add test case with base as middle snap and fix lines exceed 80

Signed-off-by: Wayne Sun <gsun@redhat.com>