Adding tests for location model.
Adding missed destory reference.