Added a few more function tests.