Added gasManager and a test for it