Move tests into a standalone testing app