tests on restAPI done