added code location test coverage