Add random primary key mixin. Split test case code into mixins.
Make the view test case and the API test cases part of the same
class hierachy. Update tests that failed due to the new import
locations.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
based on permissions and access. The tests were also updated to comform
with the new API test class interface.
Signed-off-by: Michael Price <loneviking72@gmail.com>