added tests
added onsuccess and onerror attribute evaluators