Added tests for abstract model