Fixed test_space.py for batch_size = 1, fixed error in concatenated convert_to_one_hot, cleaned up PEP8 of test_space.py