Fix hardcoded value
Mock global app_path and add test
Add gem class test