Add lua tests for #19