Added tesCompile dependency
Fixed unchecked warnings