updated test to use oneshot call