Compiler warning fixes method parameters

Merged test