Fixed test setup & added application test