move to pages package in tests