added settings template tag, updated tests