use python instead bash for testing