fix quality flaw (re-enabled test and fixed assertion)