Add tests about macro
Add some functions
Use constant variable instead of immutable value