Fixed bug on post propagators learning.
Added tests.