Add test_logic and disable api call in test_car