Fixed running test case and changed variables

Fixed running test case from directory and changed variables to
camelCase