Set up wavefront as function to return length for test data