cover by ee test, found bugs fixed them