Fix some errors - Compile success - Test failure