Refactored tests and tried to write css tests