Mocking with dart

This might be blocked until @timothyarmstrong refactors `runtests.sh`