remove references and referencestest (not needed, failed to commit last time)