Fixed python moduels and wrote a simplistic test case against the core lib