Empty array fix, Replacer test cases added
travisplexer: pr-454-linux travis ci test