PEP-8 fixes in map tests and lightcurve files