corrected tests and changed some styles