Adds basic functional testing