test to verify virtual attributes assignment