Should probably use Assert.assertEquals() here instead.

native asserts are only checked if enabled in the VM (http://thesoftwarelife.blogspot.se/2008/05/dont-forget-to-enable-java-assert.html)