Test for scala