Start porting addMedia test
Adds bootstrapped template vars