new api tests