fixed lots of warnings that pop up with -DTESTING (make check)
Merge pull request #138 from rockdaboot/spring_cleaning

fixed lots of warnings that pop up with -DTESTING (make check)