new function tests