Refactor code
Fix tests
Add rendering tests for box-shadow and fix bugs they helped to discover
Add support for text-shadow