Dev tests sphinxapi

Adding functional tests for sphinx api module