I have a test class which fails when the Deferred Sharing is on. Because the test data created by the admin user is not seen by another user . and I get insufficient privileges error when i run as new user and do an update. Is there a way that i can create a permission set in the test class and assign to the user so that sharing rules won't be a problem and the test class will pass ? Please suggest.