Added phpunit to composer.

# Fixed #12. Javascript removed all credit cart data