tests for accessor (public_method)