add weight tests
Merge pull request #645 from amro/improve_css_code_coverage

Add weight tests