refactor css parsing tests