added scala test, refactored package name