add api shares tests
add shares rules tests
add quota tests for shares
add negative tests for shares