Added tests, Fixed error css