Add tests for file dependency references in tag parser

Signed-off-by: Vlad Velici <vlad.velici@gmail.com>