Fixed static importing of assertThat and casting of values used in assertions