run test and apply fixes