Add tests for contribution authorization