API tests fixes
Merge pull request #194 from spawluk-bitbar/devel

API tests fixes