add test.html and fix mpage for the width and height