fixed test and problem with un-silenced warnings