Add test api swtich case variable