Added api tests for testing that null options/json are correctly transmitted
Typo