added multiple test functionality.