Move manual testing scripts into scripts dir and create a real unit test.