fixed test functional added ajax for all buttons