Refactor contract tests helper so to enable calling local fun
Refactor contract tests helper so to enable calling local fun

Also make helper stricter so to avoid misleading errors if misused.

aeternity/epoch,aeternity/epoch,aeternity/epoch,aeternity/epoch