rest test as index html