[#105] json api tests refactored