update share script unit tests to check new handler API