added test for read only virtual attribute