added warningflag to makefile and added a type change in test. Minor update