Fix simpleTest function