add states push pop test