removed the apply function tests