Added test script, tweaked sections order
Using pacta for promises