Use pytest class feature for test_logger
Use pytest class feature for test_logger

Also add more tests. More test to be done

joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue