Move amazon test code to main folder