Added dart unit tests