test using style code as attr_with's parameter