test public api