Fixed templatized test assertions