You can test it by saving the above code into a file calles test.xhtml and then running
Code:
ebook-convert test.xhtml .epub --no-default-epub-cover
That will give you a single page epub (test.epub) with text that will be correctly horizontall and vertically centered in the calibre viewer (and any other SVG supporting viewer that accepts the text-anchor property).