testing readStyles method