fixed method
fixed test for discover
log onky in debug mode
splitted tests into dedicated files