added some more Unittests for API classes

Not everything is covered right now, but soon there will be more