Resolved nose issue in testing