Tests added.
callback function updated with opal object.