moved main to test folder, creating static lib and linking test1 against that