added test file for apis