unit tests run with -race

Signed-off-by: Johannes Petzold <jpetzold@pivotal.io>