Fixed tests and render to accept attribute withou contents