Worked more on API test, updated freedom.js