test basic API