started with writing tests for IR generation