Added test and in memory implementation for amending actions to an existing tracked file