Added tests and transaction status