Moved a test to examples - which was more appropriate. Tests has been given some work as well.
Added synchronous opererations to API and BGAPI actions.