Changed assert helper visibility, fixed unittest