First pass at using mock library in Location test.