added more unittests for various tasks

--HG--
branch : trunk
diff --git a/tests/test_loaders.py b/tests/test_loaders.py
index 9cc1dcc..8faf987 100644
--- a/tests/test_loaders.py
+++ b/tests/test_loaders.py
@@ -11,6 +11,7 @@
 import time
 import tempfile
 from jinja2 import Environment, loaders
+from jinja2.loaders import split_template_path
 from jinja2.exceptions import TemplateNotFound
 
 
@@ -101,3 +102,9 @@
     assert 'one' in env.cache
     assert 'two' not in env.cache
     assert 'three' in env.cache
+
+
+def test_split_template_path():
+    assert split_template_path('foo/bar') == ['foo', 'bar']
+    assert split_template_path('./foo/bar') == ['foo', 'bar']
+    raises(TemplateNotFound, split_template_path, '../foo')