[test] separate unit tests