Angular test reformatting