Add seven more tests, mainly about functions.