changed test
head and body tags now optional