API behavior tests

Right, these tests are bad. They are absolutely not how these tests should be done.

However, NodeCG is really damn weird and doesn't do ANYTHING the 'right way', so whatever.

These tests will get better and provide more code coverage over time, we just needed to get our foot in the door.