Added functional test for our api
near final push