Try to test onload, onerror, onabort in phantom