Test program now uses Bind instead of FlatMap