Buildfile fix for sed and testing