fixed more unit test errors
put the css at the bottom instead of the top