added a test file for scala