Added test cases and fixed broken cases
travisplexer: pr-454-linux travis ci test