added test setup, added tests for job lib, added wrapper for promises enables restler module