Propel 1.5 compatibility tests

Tests for SQL generation problems found in Propel 1.6 which already
worked in version 1.5