updating tests and head modifications