Add test code for TravisCI bug