Added few boundary  tests related to compute resources

1) Moved compute-resource test cases to factory, which will shorten up the test-cases.
2) Added few boundary tests.