added functionality tests and css