Solved problems. API working and test working.