Added test for creating derivative from masterfile