Move api test to correct location