fixed expected returned status codes