diff --git a/.gitignore b/.gitignore
index 485dee6..08fe6ed 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
.idea
+build
diff --git a/test/data/lambda/partial_template.js b/test/data/lambda/partial_template.js
new file mode 100644
index 0000000..a913f87
--- /dev/null
+++ b/test/data/lambda/partial_template.js
@@ -0,0 +1,6 @@
+({
+ title: function () {
+ return "Welcome";
+ },
+ again: "Goodbye"
+})
diff --git a/test/data/lambda/partial_template.mustache b/test/data/lambda/partial_template.mustache
new file mode 100644
index 0000000..6a7492e
--- /dev/null
+++ b/test/data/lambda/partial_template.mustache
@@ -0,0 +1,2 @@
+
{{title}}
+{{>partial}}
diff --git a/test/data/lambda/partial_template.partial b/test/data/lambda/partial_template.partial
new file mode 100644
index 0000000..a404529
--- /dev/null
+++ b/test/data/lambda/partial_template.partial
@@ -0,0 +1 @@
+Again, {{again}}!
diff --git a/test/data/lambda/partial_template.txt b/test/data/lambda/partial_template.txt
new file mode 100644
index 0000000..692698f
--- /dev/null
+++ b/test/data/lambda/partial_template.txt
@@ -0,0 +1,2 @@
+Welcome
+Again, Goodbye!
diff --git a/test/data/lambda/partial_view.js b/test/data/lambda/partial_view.js
new file mode 100644
index 0000000..3ad70d3
--- /dev/null
+++ b/test/data/lambda/partial_view.js
@@ -0,0 +1,14 @@
+({
+ greeting: function () {
+ return "Welcome";
+ },
+ farewell: function () {
+ return "Fair enough, right?";
+ },
+ name: "Chris",
+ value: 10000,
+ taxed_value: function () {
+ return this.value - (this.value * 0.4);
+ },
+ in_ca: true
+})
diff --git a/test/data/lambda/partial_view.mustache b/test/data/lambda/partial_view.mustache
new file mode 100644
index 0000000..f8f6a5b
--- /dev/null
+++ b/test/data/lambda/partial_view.mustache
@@ -0,0 +1,3 @@
+{{greeting}}
+{{>partial}}
+{{farewell}}
diff --git a/test/data/lambda/partial_view.partial b/test/data/lambda/partial_view.partial
new file mode 100644
index 0000000..03df206
--- /dev/null
+++ b/test/data/lambda/partial_view.partial
@@ -0,0 +1,5 @@
+Hello {{name}}
+You have just won ${{value}}!
+{{#in_ca}}
+Well, ${{ taxed_value }}, after taxes.
+{{/in_ca}}
\ No newline at end of file
diff --git a/test/data/lambda/partial_view.txt b/test/data/lambda/partial_view.txt
new file mode 100644
index 0000000..c09147c
--- /dev/null
+++ b/test/data/lambda/partial_view.txt
@@ -0,0 +1,5 @@
+Welcome
+Hello Chris
+You have just won $10000!
+Well, $6000, after taxes.
+Fair enough, right?
diff --git a/test/data/lambda/partial_whitespace.js b/test/data/lambda/partial_whitespace.js
new file mode 100644
index 0000000..3ad70d3
--- /dev/null
+++ b/test/data/lambda/partial_whitespace.js
@@ -0,0 +1,14 @@
+({
+ greeting: function () {
+ return "Welcome";
+ },
+ farewell: function () {
+ return "Fair enough, right?";
+ },
+ name: "Chris",
+ value: 10000,
+ taxed_value: function () {
+ return this.value - (this.value * 0.4);
+ },
+ in_ca: true
+})
diff --git a/test/data/lambda/partial_whitespace.mustache b/test/data/lambda/partial_whitespace.mustache
new file mode 100644
index 0000000..48bd1ff
--- /dev/null
+++ b/test/data/lambda/partial_whitespace.mustache
@@ -0,0 +1,3 @@
+{{ greeting }}
+{{> partial }}
+{{ farewell }}
diff --git a/test/data/lambda/partial_whitespace.partial b/test/data/lambda/partial_whitespace.partial
new file mode 100644
index 0000000..30de8f6
--- /dev/null
+++ b/test/data/lambda/partial_whitespace.partial
@@ -0,0 +1,5 @@
+Hello {{ name}}
+You have just won ${{value }}!
+{{# in_ca }}
+Well, ${{ taxed_value }}, after taxes.
+{{/ in_ca }}
\ No newline at end of file
diff --git a/test/data/lambda/partial_whitespace.txt b/test/data/lambda/partial_whitespace.txt
new file mode 100644
index 0000000..c09147c
--- /dev/null
+++ b/test/data/lambda/partial_whitespace.txt
@@ -0,0 +1,5 @@
+Welcome
+Hello Chris
+You have just won $10000!
+Well, $6000, after taxes.
+Fair enough, right?
diff --git a/test/data/lambda/section_functions_in_partials.js b/test/data/lambda/section_functions_in_partials.js
new file mode 100644
index 0000000..4672778
--- /dev/null
+++ b/test/data/lambda/section_functions_in_partials.js
@@ -0,0 +1,7 @@
+({
+ bold: function(){
+ return function(text, render) {
+ return "" + render(text) + "";
+ }
+ }
+})
diff --git a/test/data/lambda/section_functions_in_partials.mustache b/test/data/lambda/section_functions_in_partials.mustache
new file mode 100644
index 0000000..8164932
--- /dev/null
+++ b/test/data/lambda/section_functions_in_partials.mustache
@@ -0,0 +1,3 @@
+{{> partial}}
+
+some more text
diff --git a/test/data/lambda/section_functions_in_partials.partial b/test/data/lambda/section_functions_in_partials.partial
new file mode 100644
index 0000000..3e90b00
--- /dev/null
+++ b/test/data/lambda/section_functions_in_partials.partial
@@ -0,0 +1 @@
+{{#bold}}Hello There{{/bold}}
diff --git a/test/data/lambda/section_functions_in_partials.txt b/test/data/lambda/section_functions_in_partials.txt
new file mode 100644
index 0000000..2f5955c
--- /dev/null
+++ b/test/data/lambda/section_functions_in_partials.txt
@@ -0,0 +1,3 @@
+Hello There
+
+some more text