Add tests for hierarchical paths

Missed comma
Change another tests

according to new render_template API
Remove duplication
Change behavior of finding template

#to_partial_path also changed
According to new partials mechanism, partial path without space should be relative or absolute with space.