Fixed Warnings for Main files and Test Files