fix pending tests