fixed method clear + tests, removed unused test enum