(test) added unit tests for read_template and cleaned up basic.rs