fixed the issue
added test py
list tests working well
all current tests passing with O0
all current tests passing with O3