add flavor creation tests

1. verify that it can deal with string ram parameter
2. make sure it can detect invalid ram and vcpus

Change-Id: Ic439cdf6b8ff99c7b13efc849afb92b4b0865392
Merge "add flavor creation tests"