   
   func testThatRoutePostMethodShouldSetAnyIntValue() throws {
     // arrange
-    let beat = 488
+    let beat = Int.randomValue()
     let heartbeat = Heartbeat(beat: beat)
     let json = try heartbeat.makeJSON()
     let reqBody = try Body(json)
     let req = Request(method: .post, uri: "/heartbeat", headers: ["Content-Type": "application/json"], body: reqBody)
-    
     // act & assert
     try drop
       .testResponse(to: req)

  
  func testThatRowCountAfterStoreAlwaysBeEqualOne() throws {
    // arrange
    let beat1 = 56
    let beat2 = 33
    let beat3 = 45
    // act
    _ = try setBeat(to: beat1)
    let count1 = try Heartbeat.count()

    return res
  }
  
  fileprivate func cleanHeartbeatTable() throws {
    try Heartbeat.makeQuery().delete()
  }
  
}

extension Int {
  static func randomValue() -> Int {
    return Int.random(min: 0, max: 1000)
  }
}
