Ajaxbox improved, tests added