Converted remaining tests in StudyProcessorSpec to Scalatest