New api basic tests

To be removed?