Some tests with scala