adding a few function tests