It could be argued that your statement is not entirely true seeing that H1N1 was not considered much worse than the seasonal flu and testing didn't play a big role in controlling the virus. COVID-19 on the other hand is far more deadly, and testing is important for contact tracing and isolation.
Further, the "what about Obama" card is becoming tiresome, and in this case, is flawed. If you believe Obama made a bad call in ceasing testing for H1N1 does that not imply that Trump discouraging testing concerning Covid-19 is just as egregious? In essence, you are pointing the same finger at Trump as you are at Obama.