Add API tests for compute profiles

Update the `ComputeProfile` class definition: add mixins for creation, reading
and deletion. Thoroughly test the relevant API endpoint.