Test cases for more difficult examples added.