Add styleSelector unit tests