Added a benchmark test for Registrar which is enabled by 'make bench'.

Review: https://reviews.apache.org/r/19761