Error tests done (simply thrown them and catched the exception)