scala starting to pass tests