Add more test cases with 'and' and 'toThrow'