added tests for shopping cart controller + few bug fixes