Use parametrized test instead of writing each tests