api tests should be within api folder