Functional tests for private API