Added tests to paper