Fix compiler warnings
Add explicit list of test framework dependencies