fixed structures for test3.lig and added test cases