BUGFIX: Fixed tests for activemodel < 4