Fixed tests for <body>, <html> abd <head> in the template