added tests and css