API first tests