added int test for error raises