tests using just public api