Fixed test container being too transparent
Added an integration test