Added InfrastructureApi unit tests

All methods in the api are prefixed "list/create/edit". Change this to also use the same convention. Also use different values for the ram and cpu percentage to be able to properly verify them.