created unittest for Labels-API