added a constants and test file