Add test directory and API test scaffold