Make type used in test compile time configurable