PEP8 fixes. Additional physics unit tests