New api basic tests

Thought again about this. No need to wrap this in the previius describe: it should be on its own, and you can retrieve  again subFunctions. Don't fear repetitions in tests.