Change density to width_ratio for perpetual codes + Fix numerous gtest warnigns in test_pivot_status_reader.cpp