Added testfile for api