Added template and staticfilehandler tests