fixed tests and styling