Test: fix bug that caused failing testCreate()