add test file for tutorial
handle a single empty alloca; fixes #1919