Example of embedding tests into applicatiion