Yes – this article has more information on the details of how to do this – how to test in a salesforce sandbox