diff --git a/test-utils/components.js b/test-utils/components.js
new file mode 100644
index 00000000..c25ad5da
--- /dev/null
+++ b/test-utils/components.js
@@ -0,0 +1,27 @@
+module.exports = [
+ {
+ kind: 'POJO',
+ create: function(methods) {
+ var res = {view: function() {return {tag:'div'}}}
+ Object.keys(methods || {}).forEach(function(m){res[m] = methods[m]})
+ return res
+ }
+ }, {
+ kind: 'constructible',
+ create: function(methods) {
+ function res(){}
+ res.prototype.view = function() {return {tag:'div'}}
+ Object.keys(methods || {}).forEach(function(m){res.prototype[m] = methods[m]})
+ return res
+ }
+ }, {
+ kind: 'closure',
+ create: function(methods) {
+ return function() {
+ var res = {view: function() {return {tag:'div'}}}
+ Object.keys(methods || {}).forEach(function(m){res[m] = methods[m]})
+ return res
+ }
+ }
+ }
+]
diff --git a/test-utils/tests/index.html b/test-utils/tests/index.html
index e24fa2f8..51b04d73 100644
--- a/test-utils/tests/index.html
+++ b/test-utils/tests/index.html
@@ -14,12 +14,14 @@
+
+