implemented test functions as per https://pinkpages.atlassian.net/browse/PP-10
added fragments group for header & footer etc