Improve the compiler pass tests, update the documentations, implement handlers methods