Added two more tests to test the exception throws