added unit and instrument test