Adding tests for provider changes and directory changes