atomic tests for webapp api

resolves https://leap.se/code/issues/6433