fix bug resolving custom stylesheet, add tests
update year in copyright