fix blame page desing bug and add tests