Add tests to hook module
Format code for core.include.rb