check file
generalization case for locations now includes constants. solves issue with new tests.