Add macros for writing tests more efficient