Outsource unittests and components