Added function tests.