added readonly test