Changed asserts, Hamcrest matcher was not working correctly on RHEL