Add tests for #1291 and #1297
Add tests for #1291 and #1297

ssarangi/numba,IntelLabs/numba,seibert/numba,stonebig/numba,gmarkall/numba,IntelLabs/numba,seibert/numba,cpcloud/numba,stefanseefeld/numba,ssarangi/numba,pitrou/numba,cpcloud/numba,gmarkall/numba,stefanseefeld/numba,stuartarchibald/numba,sklam/numba,stonebig/numba,GaZ3ll3/numba,stonebig/numba,pitrou/numba,stonebig/numba,sklam/numba,GaZ3ll3/numba,gdementen/numba,cpcloud/numba,numba/numba,jriehl/numba,stuartarchibald/numba,numba/numba,numba/numba,stefanseefeld/numba,jriehl/numba,gdementen/numba,IntelLabs/numba,pombredanne/numba,pombredanne/numba,seibert/numba,gdementen/numba,ssarangi/numba,GaZ3ll3/numba,sklam/numba,gmarkall/numba,cpcloud/numba,ssarangi/numba,seibert/numba,stuartarchibald/numba,pitrou/numba,gdementen/numba,pombredanne/numba,jriehl/numba,jriehl/numba,sklam/numba,numba/numba,sklam/numba,seibert/numba,jriehl/numba,cpcloud/numba,IntelLabs/numba,stefanseefeld/numba,stuartarchibald/numba,pitrou/numba,gmarkall/numba,IntelLabs/numba,gdementen/numba,numba/numba,GaZ3ll3/numba,pombredanne/numba,stefanseefeld/numba,stonebig/numba,GaZ3ll3/numba,ssarangi/numba,pombredanne/numba,pitrou/numba,stuartarchibald/numba,gmarkall/numba