Fixed Python example script
Got unitt tests working properly