update tests to match code
standardard indentation
run pep8
pep8 ification