Firstly, notating the contingency table as:
$$\begin{array}{c|c|c|}
& \text{True} & \text{False} \\ \hline
\text{Before} & a & b\\ \hline
\text{After} & c & d \\ \hline
\end{array}$$
the Odds Ratio $(OR)$ is:
$$OR=\frac{ad}{bc}$$
Taking your data, for Test 1, $OR_1=7.813$ and for Test 2, $OR_2=0.624$.
The standard error $(SE)$ for the Odds Ratio can be approximated by:
$$SE=\sqrt{\frac{1}{a}+\frac{1}{b}+\frac{1}{c}+\frac{1}{d}}$$
For Test 1, $SE_1=0.515$ and for Test 2 $SE_2=0.480$
The confidence interval of the $OR$ is taken as $e^{\ln(OR)\, \pm\, z\, SE}$.
If we set $z=1.96$ (i.e. 95% confidence level), we have the following confidence intervals:
$$\begin{array}{c|c|c|}
& \text{Lower} & \text{Upper} \\ \hline
\text{Test 1 CI} & 2.848 & 21.428\\ \hline
\text{Test 2 CI} & 0.243 & 1.599 \\ \hline
\end{array}$$
As the confidence interval for the tests do not overlap, we can conclude there is a significant difference in the odds ratio between the tests at the 95% confidence level.
One question remains: what is the p-value? (assuming that is what you are after). To find this, we need to determine the point where the confidence interval from one test intersects the confidence interval from the other test. This occurs when:
$$e^{\ln(OR_i)\, -\, z\, SE_i}=e^{\ln(OR_j)\, +\, z\, SE_j}$$
For convention, let $i$ be the test with the greatest $OR$ and $j$ be the test with the lowest $OR$. This can be solved for the absolute value of $z$ as follows:
$$z=\left| \frac{\ln OR_i-\ln OR_j}{SE_i+SE_j} \right |$$
Inserting the relevant data
$$z=\left | \frac{\ln(7.813)-\ln(0.624)}{0.515+0.480} \right |\,=\,2.541$$
Taking the standard normal distribution, this equates to a p-value (2-sided) of 0.011.