A modular testing device includes a base unit and an expansion unit that communicates with the base unit. The expansion unit includes a housing, a receptacle in which a sample holder containing a biological sample and reagent mixture can be placed, and an optical assembly positioned in the housing. The optical assembly is configured to amplify and detect a signal from the biological sample and reagent mixture. Data that is collected in the optical assembly is communicated to the base unit.