move tests to string-template tests
cleanup whitespace
add template compilation