Tests

Do not merge! 

This pull request contains a series of unit tests for the service flavor availability package. If the cases used are appropriate we can copy the tests for the other availability packages.