Prettifying the example/test code
fixing typo in test html