Java 8
Tests for model