Add first test with short input buffer

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>