Added tests for private interface