Added initial API tests