TST: adding more tests and fixing up 2to3 issues
BUG: fixed analysis._reflect, it wasn't working for >1 layer systems. Fixed and added test