Add tests for DartView