card flip added in testing