fixed a bug in html (AND/and), Implemented more test cases. Note tha overlap testcases are not working.