fixing exclude paths for test directories - #880