some basic JSON API tests.

auth api tests

create api tests

markdown and search api tests