Added a new test file and also some changes in the module like adding macros etc.