finished tests for needs_a