Tests: Add more function tests

A lot more of these to come!