tests + introduce parsing