remove usage of test only package in runtime
fixed a problem with has method resulted in inconsistent results