One way to safely test code and do all the necessary testing is to create a test environment within Azure with a development tenant.