Port over MinerrPass class and test cases