Extract test script to a separate file
Add tests for changey