Add base src and some tests