add test folder

add page_test file
testing and refactoring page model
refactoring
rspec iso minitest
remove test folder
refactoring Page model