Added runtests script and made sure it's ran before build
Messy changes