Added tests for lookup