Make gcc params for tests more closely match firmware compilation flags