added initial worker api tests