Added tests for diameter search.