Started on API and Plugin utility tests, though still need some more work

Some of the functions I don't quite understand, so I'll defer to you guys on those :P

Which probably brings me to documentation >.>