added tests for distance miss definition which wont break when definitiion changes