fixed color parsing; added rendering test