adds gef namespace and fixes tests