Made a proper test for RSA. Need to find a way to be able to run both tests with travis.