Add a unit test for file creation using an in-memory FS

Signed-off-by: David Scott <dave.scott@eu.citrix.com>