Move API tests into own subdir