add public api tests