added lookup test + fix in test