added test for immutable map on TransactionStartedEvent
added tests for transaction started and stopped events
added unique constraint to transaction and chargingstation